package com.mzkj.wanjulaile.mobile.api.modules.order.entity;

import com.mzkj.wanjulaile.mobile.api.common.entity.DataEntity;
import com.mzkj.wanjulaile.mobile.api.modules.toy.entity.Toy;

public class OrderToy extends DataEntity<OrderToy> {
	
	private static final long serialVersionUID = 1L;
	private String orderId;		// 订单id
	private Toy toy;		// 玩具信息
	private Integer toyCount;
	private Integer toyStatus;
	private Integer toyStatusLast; //存储临时状态

	private Integer type; //是否回收玩具 0:本次下单的玩具  1 :待回收的玩具 2:续费玩具

	public OrderToy() {
		super();
	}

	public OrderToy(String id){
		super(id);
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Toy getToy() {
		return toy;
	}

	public void setToy(Toy toy) {
		this.toy = toy;
	}

	public Integer getToyCount() {
		return toyCount;
	}

	public void setToyCount(Integer toyCount) {
		this.toyCount = toyCount;
	}

	public Integer getToyStatus() {
		return toyStatus;
	}

	public void setToyStatus(Integer toyStatus) {
		this.toyStatus = toyStatus;
	}

	public Integer getToyStatusLast() {
		return toyStatusLast;
	}

	public void setToyStatusLast(Integer toyStatusLast) {
		this.toyStatusLast = toyStatusLast;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}